package com.web.exiaodao.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.web.webstart.base.entity.BaseEntity;

/**
 * 
* @ClassName: CheckInTable 
* @Description: 签到-签到表定义表
* @author eason
* @date 2015年3月23日 下午1:00:00 
*
 */
@Entity
@Table(name = "tb_xa_checkintable")
@ApiModel(value="签到-签到表定义表")
public class CheckInTable extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="用户id,用户id")
	private Long userId;
	@ApiModelProperty(value="签到时间(默认时间格式),签到时间")
	private String checkIn_DateTime;
	@ApiModelProperty(value="签到计数，默认是0,签到计数，默认是0（本次签到的时间Date[不包含Time]与上一次Date差小于3600*24，就计数加一，否则归0")
	private Long check_Count;
		
	
	public void setUserId(Long userId){
		this.userId=userId;
	}
	
	@Column(nullable=true,length=50)
	public Long getUserId(){
		return userId;
	}
	public void setCheckIn_DateTime(String checkIn_DateTime){
		this.checkIn_DateTime=checkIn_DateTime;
	}
	
	@Column(nullable=true,length=50)
	public String getCheckIn_DateTime(){
		return checkIn_DateTime;
	}
	public void setCheck_Count(Long check_Count){
		this.check_Count=check_Count;
	}
	
	@Column(nullable=true,length=50)
	public Long getCheck_Count(){
		return check_Count;
	}
		

}
